pub enum FindBy<'a> {
    ID(&'a str),
    URL(&'a str),
}

pub type ListExpiredRange = super::DateTimeRange;

pub struct List<'a> {
    pub pagination: super::Pagination,
    pub url: Option<&'a str>,
    pub origin: Option<&'a str>,
    pub has_password: Option<bool>,
    pub has_expired: Option<bool>,
    pub expired_range: Option<ListExpiredRange>,
    pub order: Option<&'a str>,
    pub user_id: Option<&'a str>,
}

pub struct ListLogs<'a> {
    pub pagination: super::Pagination,
    pub url: Option<&'a str>,
    pub url_id: Option<&'a str>,
    pub user_id: Option<&'a str>,
    pub email: Option<&'a str>,
    pub dateline_range: Option<super::DateTimeRange>,
    pub order: Option<&'a str>,
}
